import request from './request';

export function login(data) {
	return request('/api/login', data);
}

export function getUserList(data) {
	return request('/sysUser/list', data);
}

export function updateUser(data) {
	return request('/sysUser/update', data);
}

export function addUser(data) {
	return request('/sysUser/add', data);
}

export function deleteUser(data) {
	return request('/sysUser/delete', data);
}

export function getInboundList(data) {
	return request('/inbound/list', data);
}

export function updateInbound(data) {
	return request('/inbound/update', data);
}

export function addInbound(data) {
	return request('/inbound/add', data);
}

export function deleteInbound(data) {
	return request('/inbound/delete', data);
}

export function exportInbound(data) {
	return request('/inbound/export', data);
}

export function getOutboundList(data) {
	return request('/outbound/list', data);
}

export function deleteOutbound(data) {
	return request('/outbound/delete', data);
}

export function addOutbound(data) {
	return request('/outbound/add', data);
}

export function updateOutbound(data) {
	return request('/outbound/update', data);
}

export function getProductList(data) {
	return request('/product/list', data);
}

export function addProduct(data) {
	return request('/product/add', data);
}

export function updateProduct(data) {
	return request('/product/update', data);
}

export function deleteProduct(data) {
	return request('/product/delete', data);
}

export function getForewarnList(data) {
	return request('/forewarn/list', data);
}

export function setVarForewarn(data) {
	return request('/forewarn/setVar7', data);
}

export function getStatisticsList(data) {
	return request('/statistics/list', data);
}

export function saveStatistics(data) {
	return request('/statistics/save', data);
}

export function getMenus(data) {
	return request('/common/menus', data);
}

export function getProgrames(data) {
	return request('/common/programes', data);
}

export function changePrograme(data) {
	return request('/sysUser/changePrograme', data);
}

export function getUserInfo(data) {
	return request('/sysUser/getUserInfo', data);
}

export function getRecipientList(data) {
	return request('/recipient/list', data);
}

export function deleteRecipient(data) {
	return request('/recipient/delete', data);
}

export function addRecipient(data) {
	return request('/recipient/add', data);
}

export function updateRecipient(data) {
	return request('/recipient/update', data);
}

export function getVendorList(data) {
	return request('/vendor/list', data);
}

export function deleteVendor(data) {
	return request('/vendor/delete', data);
}

export function addVendor(data) {
	return request('/vendor/add', data);
}

export function updateVendor(data) {
	return request('/vendor/update', data);
}

export function getEarthworkList(data) {
	return request('/earthwork/list', data);
}

export function addEarthwork(data) {
	return request('/earthwork/add', data);
}

export function updateEarthwork(data) {
	return request('/earthwork/update', data);
}

export function deleteEarthwork(data) {
	return request('/earthwork/delete', data);
}

export function getProgramList(data) {
	return request('/program/list', data);
}

export function addProgram(data) {
	return request('/program/add', data);
}

export function updateProgram(data) {
	return request('/program/update', data);
}

export function deleteProgram(data) {
	return request('/program/delete', data);
}

export function getItemList(data) {
	return request('/item/list', data);
}

export function addItem(data) {
	return request('/item/add', data);
}

export function updateItem(data) {
	return request('/item/update', data);
}

export function deleteItem(data) {
	return request('/item/delete', data);
}
